<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<sj:head compressed="false" />
<sj:head jqueryui="true" jquerytheme="redmond" />
<title>AAL Administration</title>
<link rel="stylesheet" type="text/css" href="css/960.css" />
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/text.css" />
<link rel="stylesheet" type="text/css" href="css/blue.css" />
  
   <script type="text/javascript">

		function loadContent(url, IdDiv){
			//alert("aaaaaaaaaaa");
			if (window.XMLHttpRequest)
			  {
			  xmlhttp=new XMLHttpRequest();
			  }
			else
			  {
			  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
			  }
			xmlhttp.onreadystatechange=function()
			  {
			  if (xmlhttp.readyState==4 && xmlhttp.status==200)
			    {
			    document.getElementById(IdDiv).innerHTML=xmlhttp.responseText;
			    }
			  };
			xmlhttp.open("GET", url ,true);
			xmlhttp.send();
		}
</script>

</head>

<%
    //session.setAttribute("currentPage", "home.jsp");
    /*String currentPage = (String)session.getAttribute("currentPage");
    if (currentPage == null) {
        currentPage = "home.jsp";
        session.setAttribute("currentPage", currentPage);
    }*/
    String currentPage = request.getParameter("currentPage");
    if(currentPage==null){
    	currentPage="planner/profile.jsp";//co the goi action
    }if(currentPage!=null && currentPage.equalsIgnoreCase("planManagement.jsp")){
    	currentPage="planner/planManagement.jsp";
    }if(currentPage!=null && currentPage.equalsIgnoreCase("productManagement.jsp")){
    	currentPage="planner/productManagement.jsp";
    }
    
%>

<body id="body" onload="loadContent('<%=currentPage%>', 'container')">
<!-- WRAPPER START -->
<div class="container_16" id="wrapper">	
<!-- HIDDEN COLOR CHANGER -->      
  <jsp:include page="../header.jsp" />

	
	

<!-- CONTENT START -->
    <div class="grid_16" id="content">
    <!--  TITLE START  --> 
    <div class="grid_9">
    	<div id="container" class="container">
         </div>
    </div>
    <!--RIGHT TEXT/CALENDAR-->
    <div class="grid_6" id="eventbox">
    	<div class="hidden_calendar"></div>
    </div>
    <!--RIGHT TEXT/CALENDAR END-->
    <div class="clear">
    </div>   
      <div class="column">
      <br/>
      <br/>
      <br/>
      <br/>
      <br/>
                               
    </div>
	
   </div>
    <div class="clear"> </div>
<!-- END CONTENT-->    
  </div>
<div class="clear"> </div>

<!-- WRAPPER END -->
<!-- FOOTER START -->
<jsp:include page="../footer.jsp" />
<!-- FOOTER END -->
</body>
</html>
